package com.qf.service.impl;

import com.qf.bean.Dept;
import com.qf.dao.DeptMapper;
import com.qf.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 21/11/2019
 * Echo
 * qmxc
 * Alibaba
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;
    @Override
    public List<Dept> findDeptList() {
        List<Dept> depts = deptMapper.finddeptList();
        return depts;
    }
}
